 #static Int_t Nproton(){   return 30000;}
  #static Int_t Npion(){     return 49000;}
  #static Int_t Nkaon(){     return 20000;}
  #static Int_t Nelectron(){ return  1000;}
fNproton=30000;
fNpion=49000;
fNkaon=20000;
fNelectron=1000;
tot=100000;

~/.task/2dbetabloch/calc outmn2d_post_save*.root mn2d p00 $fNproton $tot > seecalc_mn2d_proton.log
~/.task/2dbetabloch/calc outmn2d_post_save*.root mn2d p10 $fNpion $tot  > seecalc_mn2d_pion.log
~/.task/2dbetabloch/calc outmn2d_post_save*.root mn2d p20 $fNkaon  $tot > seecalc_mn2d_kaon.log
~/.task/2dbetabloch/calc outmn2d_post_save*.root mn2d p30 $fNelectron $tot  > seecalc_mn2d_electron.log


~/.task/2dbetabloch/calc outfith*.root fith p00 $fNproton $tot > seecalc_fith_proton.log
~/.task/2dbetabloch/calc outfith*.root fith p10 $fNpion $tot > seecalc_fith_pion.log
~/.task/2dbetabloch/calc outfith*.root fith p20 $fNkaon $tot  > seecalc_fith_kaon.log
~/.task/2dbetabloch/calc outfith*.root fith p30 $fNelectron $tot  > seecalc_fith_electron.log
